package com.huawei.hianalytics.a;

import com.huawei.hianalytics.e.a;
import com.huawei.hianalytics.e.e;
import java.util.Map;

public abstract class c {
    public static String a(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.k() : "";
    }

    public static void a(long j) {
        com.huawei.hianalytics.e.c m = m("_default_config_tag", "oper");
        com.huawei.hianalytics.e.c m2 = m("_default_config_tag", "maint");
        com.huawei.hianalytics.e.c m3 = m("_default_config_tag", "preins");
        com.huawei.hianalytics.e.c m4 = m("_default_config_tag", "diffprivacy");
        if (m != null) {
            m.a(j);
        }
        if (m2 != null) {
            m2.a(j);
        }
        if (m3 != null) {
            m3.a(j);
        }
        if (m4 != null) {
            m4.a(j);
        }
    }

    public static void a(long j, String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        if (m != null) {
            m.a(j);
        }
    }

    public static void a(String str, String str2, String str3) {
        com.huawei.hianalytics.e.c m = m(str2, str3);
        if (m != null) {
            m.g(str);
        }
    }

    public static String b(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.f() : "";
    }

    public static String c(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.g() : "";
    }

    public static String d(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.h() : "";
    }

    public static String e(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.i() : "";
    }

    public static String f(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.j() : "";
    }

    public static int g(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.b() : 7;
    }

    public static int h(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.c() : 10;
    }

    public static Map<String, String> i(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.n() : null;
    }

    public static boolean j(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.l() : true;
    }

    public static String k(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.m() : "";
    }

    public static long l(String str, String str2) {
        com.huawei.hianalytics.e.c m = m(str, str2);
        return m != null ? m.o() : 0;
    }

    private static com.huawei.hianalytics.e.c m(String str, String str2) {
        e a = a.a().a(str);
        return a != null ? a.a(str2) : null;
    }
}
